﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<HsTec.DigitalPlatform.Model.DTO.SpecModel>" %>
<% using (Html.BeginForm("Add", "Spec", FormMethod.Post, new { id = "editform" }))
   {%>
<table border="0">
    <tr>
        <td>
            <%= Html.ValidationSummary(true)%>
        </td>
    </tr>
    <tr style="display: none;">
        <td>
            流水号:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.speid)%>
        </td>
    </tr>
    <tr>
        <td>
            专业名称:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.spename)%>
        </td>
    </tr>
    <tr>
        <td>
            排序号:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.speorder)%>
        </td>
    </tr>
    <tr>
        <td>
            负责人:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.director)%>
        </td>
    </tr>
    <tr style="display: none;">
        <td>
            创建人:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.createuser)%>
        </td>
    </tr>
    <tr style="display: none;">
        <td>
            创建日期:
        </td>
        <td>
            <%=Html.TextBoxFor(t => t.createdate)%>
        </td>
    </tr>
    <tr style="display: none;">
        <td colspan="2">
            <input type="submit" id="btnSave" />
        </td>
    </tr>
    <tr>
        <td>
            隶属系部:
        </td>
        <td>
            <%=Html.DropDownListFor(t=>t.deptid,Model.deptlist,"请选择...")%>
        </td>
    </tr>
</table>
<%} %>